import request from '@/utils/request'

const api_name = '/admin/staservice/sta'
export default {

  createStatistics(day) {
    return request({
      url: `${api_name}/registerCount/${day}`,
      method: 'post'
    })
  },
  showStatistics(searchObj) {
    return request({
      url: `${api_name}/showData`,
      method: 'get',
      params:searchObj
    })
  }
}
